package com.example.rubbish.gson;

import com.google.gson.annotations.SerializedName;

import java.util.List;

public class Hot {
    @SerializedName("code")
    public int code;
    @SerializedName("newslist")
    public List<News> newsList;

    public int getCode() {
        return code;
    }

    public News getNewsAt(int index) {
        return newsList.get(index);
    }
}
